/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package petstore.view.action.atendimento;

import petstore.view.action.*;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import org.apache.struts.action.ActionForm;
import org.apache.struts.action.ActionForward;
import org.apache.struts.action.ActionMapping;

/**
 *
 * @author Tom Hayden
 */
public class ImprimirRelatorioAgendaAtendimentoAction extends ReportAction {

    /*
    private IMailComponent mailComponent;
    
    public void setMailComponent(IMailComponent mailComponent) {
        this.mailComponent = mailComponent;
    }
    */
    public ActionForward imprimir(ActionMapping mapping, ActionForm form,
            HttpServletRequest request, HttpServletResponse response)
            throws Exception {

        this.processToPDF(request, response, "report/relatorioAgendaAtendimento.jasper");

        return this.getReturnForward();
    }
}
